package com.wuxianedu.wechat.ui.fragment;

import com.wuxianedu.wechat.R;
import com.wuxianedu.wechat.util.IntentHelper;

import android.content.Context;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.widget.RelativeLayout;

public class MineFragment extends Fragment {
	
	RelativeLayout rela_shezhi;
	Context context;
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
		View v = inflater.inflate(R.layout.fragment_mine, null);
		rela_shezhi = (RelativeLayout) v.findViewById(R.id.rela_shezhi);
		context = getActivity();
		
		rela_shezhi.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				IntentHelper.IntentToSetting(context);
			}
		});
		
		return v;
	}
	
}
